package model.db;

import java.sql.Timestamp;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Version;

import play.db.ebean.Model;

@Entity
public class Profitto extends Model {

	private static final long serialVersionUID = -1665317652890242414L;

	@Id
	public Long id;

	public String instrument;
	public Long orderId;

	@Version
	public Timestamp lastUpdate;

	public static Finder<Long, Profitto> find = new Finder<Long, Profitto>(
			Long.class, Profitto.class);
}
